import { http } from '@/utils/http'

// 入住登记
export const userRegister = (data) => {
  return http.post('/business/tBaseDormitory/checkIn', data)
}

// 查询用户
export const userSearch = () => {
  return http.get('/system/user/sysUserDictsPhone')
}

// 查询入住记录
export const userRecord = (params) => {
  return http.get('/business/tBaseDormitory/checkInRecord', params)
}

// 获取入住详情
export const userDetail = (params) => {
  return http.get('/business/tBaseDormitory/checkInRecordDetail', params)
}
